﻿using System.Threading;
using System.Threading.Tasks;

namespace Tiens.NotificationHub.RemoteServices
{
    public interface IPassportClient
    {

        Task<string> GetOpenIdAsync(string accessToken,CancellationToken cancellationToken = default);

        Task<string> GetUserIdAsync(string clientSecret, string openId, CancellationToken cancellationToken = default);

    }
}
